/*
 * @Author: PlayerJumpSuccess 自定义事件
 * @Date: 2020-05-21 10:34:16
 * @LastEditTime: 2020-05-25 21:10:25
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \jump\assets\script\events\PlayerJumpSuccessEvent.ts
 */ 

export class PlayerJumpSuccessEvent extends cc.Event.EventCustom {
    // 继承自定义事件
    public static readonly NAME: string = "PlayerJumpSuccess";
    // 定义属性score
    public score: number;
    // 
    public constructor(score: number) {
        super(PlayerJumpSuccessEvent.NAME, true);
        this.score = score;
    }
}